package com.lance.answer.gui.answer;

import com.google.common.collect.Lists;
import com.lance.answer.dto.Item;
import lombok.Data;
import org.jetbrains.annotations.NotNull;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

import java.util.List;

/**
 * @author yixun
 * @version 2.0.0
 * @description
 * @date 2021-05-28 22:30
 * @since 2.0.0
 */
@Data
public class Question implements Comparable<Question> {

    private String analyze;
    private String correct;
    private String[] correctArray;
    private int difficult;
    private int gradeLevel;
    private List<Item> items;
    private int questionType;
    private String questionCode;
    private String questionTypeDesc;
    private Double score;
    private int subjectId;
    /** 题目标题*/
    private String title;
    private String answerType;
    private String answerHistory;




    @Override
    public int compareTo(@NotNull Question o) {
        return Integer.compare(this.questionType,o.questionType);
    }
}
